package com.tim.ying.java8.lamdba;

import java.util.Arrays;
import java.util.List;

public class SortLamdba {
	public static void main(String[] args) {
		List<String> list = Arrays.asList("a","b","c");
		list.sort((o1,o2)->{
			return o2.compareTo(o1);
		});
		System.out.println(list);
	}
}
